<script>
    layui.use(['jquery', 'layer'], function () {
        var layer = layui.layer;
//        layer.alert('ni');
    });
</script>